Cloudinary\Delivery D

Total Complexity 272
Dependencies 13
Dependents 6
Total lines 1,952
Lines of code 1,077
Logical lines of code 671
Comment lines 644
Methods 47
Properties 13

Methods 47

Method Rating Maintainability Complexity Lines of code
parse_element()
D
28
34 124
standardize_tag()
C
29 26 122
convert_tags()
C
34 26 87
filter_out_cloudinary()
B
36 21 78
set_usability()
A
42 15 51
is_deliverable()
A
53 14 21
find_attachment_size_urls()
A
45 8 41
create_size_relation()
A
46 8 36
validate_url()
A
56 8 18
get_sized()
S
53 7 23
maybe_unset_attributes()
S
45 5 47
create_delivery()
S
51 6 26
rebuild_tag()
S
52 6 23
is_content_dir()
S
55 6 18
prepare_delivery()
S
49 5 28
maybe_unsize_url()
S
56 5 17
catch_urls()
S
58 5 16
get_context_cache()
S
58 5 15
maybe_filter_out_metadata()
S
53 4 24
setup_hooks()
S
53 4 20
process_featured_image()
S
54 4 20
sanitize_url()
S
62 5 10
is_allowed_type()
S
59 4 14
generate_signature()
S
58 3 15
init()
S
53 2 22
dns_prefetch()
S
70 3 6
get_transformations_maybe()
S
63 3 10
get_media_tags()
S
63 3 10
ensure_relation()
S
66 3 8
register_sync_type()
S
54 1 24
do_clear_cache()
S
72 2 6
get_settings_signature()
S
67 2 8
get_current_post_id()
S
80 2 3
update_relation()
S
72 2 5
update_size_relations_state()
S
67 2 8
update_size_relations_public_id()
S
63 2 10
add_post_id()
S
63 1 13
__construct()
S
75 1 4
remove_replace_cache()
S
80 1 3
init_delivery()
S
66 1 8
setup()
S
74 1 5
delete_bulk_size_relations()
S
62 1 10
update_size_relations_transformations()
S
79 1 3
unsync_size_relationship()
S
73 1 5
delete_size_relationship()
S
73 1 5
get_content_path()
S
74 1 4
clear_cache()
S
81 1 3